.class public Llt/noframe/gpsfarmguide/dialogs/MeasuresDialogs;
.super Ljava/lang/Object;
.source "MeasuresDialogs.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Llt/noframe/gpsfarmguide/dialogs/MeasuresDialogs$ActionCallback;
    }
.end annotation


# direct methods
.method public static chooseAction(Llt/noframe/gpsfarmguide/models/MeasuringModel;Llt/noframe/gpsfarmguide/dialogs/MeasuresDialogs$ActionCallback;)V
    .locals 4

    .line 168
    new-instance v0, Landroidx/appcompat/app/AlertDialog$Builder;

    invoke-static {}, Llt/noframe/gpsfarmguide/App;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Landroidx/appcompat/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 169
    new-instance v1, Llt/noframe/gpsfarmguide/analytics/FireAnalytics;

    invoke-static {}, Llt/noframe/gpsfarmguide/App;->getContext()Landroid/content/Context;

    move-result-object v2

    invoke-direct {v1, v2}, Llt/noframe/gpsfarmguide/analytics/FireAnalytics;-><init>(Landroid/content/Context;)V

    .line 170
    invoke-static {}, Llt/noframe/gpsfarmguide/App;->getContext()Landroid/content/Context;

    move-result-object v2

    const v3, 0x7f11005d

    invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroidx/appcompat/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroidx/appcompat/app/AlertDialog$Builder;

    const/4 v2, 0x1

    .line 171
    invoke-virtual {v0, v2}, Landroidx/appcompat/app/AlertDialog$Builder;->setCancelable(Z)Landroidx/appcompat/app/AlertDialog$Builder;

    .line 172
    new-instance v2, Llt/noframe/gpsfarmguide/dialogs/MeasuresDialogs$9;

    invoke-direct {v2, v1, p1, p0}, Llt/noframe/gpsfarmguide/dialogs/MeasuresDialogs$9;-><init>(Llt/noframe/gpsfarmguide/analytics/FireAnalytics;Llt/noframe/gpsfarmguide/dialogs/MeasuresDialogs$ActionCallback;Llt/noframe/gpsfarmguide/models/MeasuringModel;)V

    const p0, 0x7f030007

    invoke-virtual {v0, p0, v2}, Landroidx/appcompat/app/AlertDialog$Builder;->setItems(ILandroid/content/DialogInterface$OnClickListener;)Landroidx/appcompat/app/AlertDialog$Builder;

    .line 207
    invoke-virtual {v0}, Landroidx/appcompat/app/AlertDialog$Builder;->create()Landroidx/appcompat/app/AlertDialog;

    move-result-object p0

    .line 208
    invoke-virtual {p0}, Landroid/app/Dialog;->show()V

    return-void
.end method

.method public static chooseEditMode(Llt/noframe/gpsfarmguide/models/MeasuringModel;)V
    .locals 3

    .line 91
    new-instance v0, Landroidx/appcompat/app/AlertDialog$Builder;

    invoke-static {}, Llt/noframe/gpsfarmguide/App;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Landroidx/appcompat/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 92
    new-instance v1, Llt/noframe/gpsfarmguide/analytics/FireAnalytics;

    invoke-static {}, Llt/noframe/gpsfarmguide/App;->getContext()Landroid/content/Context;

    move-result-object v2

    invoke-direct {v1, v2}, Llt/noframe/gpsfarmguide/analytics/FireAnalytics;-><init>(Landroid/content/Context;)V

    const v2, 0x7f1100bb

    .line 93
    invoke-virtual {v0, v2}, Landroidx/appcompat/app/AlertDialog$Builder;->setTitle(I)Landroidx/appcompat/app/AlertDialog$Builder;

    const/4 v2, 0x1

    .line 94
    invoke-virtual {v0, v2}, Landroidx/appcompat/app/AlertDialog$Builder;->setCancelable(Z)Landroidx/appcompat/app/AlertDialog$Builder;

    new-instance v2, Llt/noframe/gpsfarmguide/dialogs/MeasuresDialogs$5;

    invoke-direct {v2, v1, p0}, Llt/noframe/gpsfarmguide/dialogs/MeasuresDialogs$5;-><init>(Llt/noframe/gpsfarmguide/analytics/FireAnalytics;Llt/noframe/gpsfarmguide/models/MeasuringModel;)V

    const p0, 0x7f030003

    .line 95
    invoke-virtual {v0, p0, v2}, Landroidx/appcompat/app/AlertDialog$Builder;->setItems(ILandroid/content/DialogInterface$OnClickListener;)Landroidx/appcompat/app/AlertDialog$Builder;

    .line 112
    invoke-virtual {v0}, Landroidx/appcompat/app/AlertDialog$Builder;->show()Landroidx/appcompat/app/AlertDialog;

    return-void
.end method

.method public static deleteAreas(Ljava/util/List;)V
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Ljava/lang/Integer;",
            ">;)V"
        }
    .end annotation

    .line 135
    new-instance v0, Landroidx/appcompat/app/AlertDialog$Builder;

    invoke-static {}, Llt/noframe/gpsfarmguide/App;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Landroidx/appcompat/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 138
    invoke-interface {p0}, Ljava/util/List;->size()I

    move-result v1

    const/4 v2, 0x1

    if-le v1, v2, :cond_0

    const v1, 0x7f1100a2

    goto :goto_0

    :cond_0
    const v1, 0x7f1100a1

    :goto_0
    invoke-virtual {v0, v1}, Landroidx/appcompat/app/AlertDialog$Builder;->setTitle(I)Landroidx/appcompat/app/AlertDialog$Builder;

    .line 139
    invoke-virtual {v0, v2}, Landroidx/appcompat/app/AlertDialog$Builder;->setCancelable(Z)Landroidx/appcompat/app/AlertDialog$Builder;

    const v1, 0x7f11022d

    new-instance v2, Llt/noframe/gpsfarmguide/dialogs/MeasuresDialogs$8;

    invoke-direct {v2, p0}, Llt/noframe/gpsfarmguide/dialogs/MeasuresDialogs$8;-><init>(Ljava/util/List;)V

    .line 140
    invoke-virtual {v0, v1, v2}, Landroidx/appcompat/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroidx/appcompat/app/AlertDialog$Builder;

    const p0, 0x7f110155

    new-instance v1, Llt/noframe/gpsfarmguide/dialogs/MeasuresDialogs$7;

    invoke-direct {v1}, Llt/noframe/gpsfarmguide/dialogs/MeasuresDialogs$7;-><init>()V

    .line 154
    invoke-virtual {v0, p0, v1}, Landroidx/appcompat/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroidx/appcompat/app/AlertDialog$Builder;

    .line 159
    invoke-virtual {v0}, Landroidx/appcompat/app/AlertDialog$Builder;->show()Landroidx/appcompat/app/AlertDialog;

    return-void
.end method

.method public static deleteMeasure(Landroid/content/DialogInterface$OnClickListener;)V
    .locals 2

    .line 121
    new-instance v0, Landroidx/appcompat/app/AlertDialog$Builder;

    invoke-static {}, Llt/noframe/gpsfarmguide/App;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Landroidx/appcompat/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    const v1, 0x7f1100a1

    .line 122
    invoke-virtual {v0, v1}, Landroidx/appcompat/app/AlertDialog$Builder;->setTitle(I)Landroidx/appcompat/app/AlertDialog$Builder;

    const/4 v1, 0x1

    .line 123
    invoke-virtual {v0, v1}, Landroidx/appcompat/app/AlertDialog$Builder;->setCancelable(Z)Landroidx/appcompat/app/AlertDialog$Builder;

    const v1, 0x7f11022d

    .line 124
    invoke-virtual {v0, v1, p0}, Landroidx/appcompat/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroidx/appcompat/app/AlertDialog$Builder;

    new-instance p0, Llt/noframe/gpsfarmguide/dialogs/MeasuresDialogs$6;

    invoke-direct {p0}, Llt/noframe/gpsfarmguide/dialogs/MeasuresDialogs$6;-><init>()V

    const v1, 0x7f110155

    .line 125
    invoke-virtual {v0, v1, p0}, Landroidx/appcompat/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroidx/appcompat/app/AlertDialog$Builder;

    .line 130
    invoke-virtual {v0}, Landroidx/appcompat/app/AlertDialog$Builder;->show()Landroidx/appcompat/app/AlertDialog;

    return-void
.end method

.method public static deleteMeasureConfirm()V
    .locals 3

    .line 36
    new-instance v0, Landroidx/appcompat/app/AlertDialog$Builder;

    invoke-static {}, Llt/noframe/gpsfarmguide/App;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Landroidx/appcompat/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    const v1, 0x7f1100a1

    .line 37
    invoke-virtual {v0, v1}, Landroidx/appcompat/app/AlertDialog$Builder;->setTitle(I)Landroidx/appcompat/app/AlertDialog$Builder;

    const/4 v1, 0x1

    .line 38
    invoke-virtual {v0, v1}, Landroidx/appcompat/app/AlertDialog$Builder;->setCancelable(Z)Landroidx/appcompat/app/AlertDialog$Builder;

    new-instance v1, Llt/noframe/gpsfarmguide/dialogs/MeasuresDialogs$2;

    invoke-direct {v1}, Llt/noframe/gpsfarmguide/dialogs/MeasuresDialogs$2;-><init>()V

    const v2, 0x7f11022d

    .line 39
    invoke-virtual {v0, v2, v1}, Landroidx/appcompat/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroidx/appcompat/app/AlertDialog$Builder;

    new-instance v1, Llt/noframe/gpsfarmguide/dialogs/MeasuresDialogs$1;

    invoke-direct {v1}, Llt/noframe/gpsfarmguide/dialogs/MeasuresDialogs$1;-><init>()V

    const v2, 0x7f110155

    .line 46
    invoke-virtual {v0, v2, v1}, Landroidx/appcompat/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroidx/appcompat/app/AlertDialog$Builder;

    .line 51
    invoke-virtual {v0}, Landroidx/appcompat/app/AlertDialog$Builder;->show()Landroidx/appcompat/app/AlertDialog;

    return-void
.end method

.method public static endMeasuring()V
    .locals 3

    .line 60
    new-instance v0, Landroidx/appcompat/app/AlertDialog$Builder;

    invoke-static {}, Llt/noframe/gpsfarmguide/App;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Landroidx/appcompat/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    const v1, 0x7f1100c2

    .line 61
    invoke-virtual {v0, v1}, Landroidx/appcompat/app/AlertDialog$Builder;->setTitle(I)Landroidx/appcompat/app/AlertDialog$Builder;

    const/4 v1, 0x1

    .line 62
    invoke-virtual {v0, v1}, Landroidx/appcompat/app/AlertDialog$Builder;->setCancelable(Z)Landroidx/appcompat/app/AlertDialog$Builder;

    new-instance v1, Llt/noframe/gpsfarmguide/dialogs/MeasuresDialogs$4;

    invoke-direct {v1}, Llt/noframe/gpsfarmguide/dialogs/MeasuresDialogs$4;-><init>()V

    const v2, 0x7f11022d

    .line 63
    invoke-virtual {v0, v2, v1}, Landroidx/appcompat/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroidx/appcompat/app/AlertDialog$Builder;

    new-instance v1, Llt/noframe/gpsfarmguide/dialogs/MeasuresDialogs$3;

    invoke-direct {v1}, Llt/noframe/gpsfarmguide/dialogs/MeasuresDialogs$3;-><init>()V

    const v2, 0x7f110155

    .line 81
    invoke-virtual {v0, v2, v1}, Landroidx/appcompat/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroidx/appcompat/app/AlertDialog$Builder;

    .line 86
    invoke-virtual {v0}, Landroidx/appcompat/app/AlertDialog$Builder;->show()Landroidx/appcompat/app/AlertDialog;

    return-void
.end method
